Skip to content

ci: set TEST_ARGS manually#422

Merged
fmontesi merged 4 commits intomainfrom
test-args-temp
Mar 17, 2026
Merged

ci: set TEST_ARGS manually#422
fmontesi merged 4 commits intomainfrom
test-args-temp

Conversation

@chenson2018
Copy link
Collaborator

@chenson2018 chenson2018 commented Mar 12, 2026

Pending leanprover/lean-action#153, manually set TEST_ARGS. As can be seen from the CI runs, this now correctly results in running lake test --wfail --iofail.

@chenson2018 chenson2018 marked this pull request as ready for review March 12, 2026 21:00
run: |
echo "TEST_ARGS='--wfail --iofail'" >> $GITHUB_ENV
shell: bash
- uses: leanprover/lean-action@v1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can also change the v1 and possibly the username here to point at the commit with the fix

Copy link
Collaborator Author

@chenson2018 chenson2018 Mar 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be happy to point to a specific commit in the lean-action repo once the fix lands, but I'm not sure we should point to individual usernames in CI if at all avoidable. I was initially of the opinion that sticking to v1 seemed fine as this does pick up new minor releases, but the PR adding test-args (where I was the one who introduced the bug...) took ~5 months to land in a release,

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you point to a specific git hash then I think the risk of pointing to an external user goes away.

@fmontesi
Copy link
Collaborator

Merging this in the meantime, but let's keep an eye on future upstream fixes in the action.

@fmontesi fmontesi added this pull request to the merge queue Mar 17, 2026
Merged via the queue into main with commit 1d91c3f Mar 17, 2026
3 checks passed
m-ow pushed a commit to m-ow/cslib that referenced this pull request Mar 17, 2026
Pending leanprover/lean-action#153, manually set
`TEST_ARGS`. As can be seen from the CI runs, this now correctly results
in running `lake test --wfail --iofail`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants